#include "Dri_Usart.h"

u8 buff[100] = {0};
u8 size = 0;

int main()
{
    
    Usart_Init();
 
    printf("Hello test printf!\n");

    int a = 100;

    printf("a = %d\n",a);

    while (1)
    {
        //u8 c =  Usart_ReceiveChar();
        //printf("client Send:%d\n",c);
        size = Usart_ReceiveString(buff);
        Usart_SendString(buff,size);
        //printf("client Receive?");
        if (size > 0)
        {
            printf("client data: %s",buff);
        }
    }
}
